package com.gae.blore.client.domain;

import java.io.Serializable;

import javax.jdo.annotations.Inheritance;
import javax.jdo.annotations.InheritanceStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

/**
 * Domain model for stop
 * 
 * @author nss
 * 
 */
@PersistenceCapable
@Inheritance(strategy = InheritanceStrategy.SUBCLASS_TABLE)
public class Stop extends Place implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4882733748247094446L;
	@Persistent
	private String routes;

	public Stop() {

	}

	public Stop(String name, double lng, double lat, String add, String land) {
		super(name, lng, lat, add, land);
	}

	public String getRoutes() {
		return routes;
	}

	public void setRoutes(String routes) {
		this.routes = routes;
	}

	@Override
	public String toString() {
		return "BusStop [routes=" + routes + ", toString()=" + super.toString()
				+ "]";
	}

}
